<?php 

include "../function/function.php";
include "./Car.class.php";
$car1=new Car;
$car2=new Car;
$car3=new Car;


echo $car1->color;
echo "<br>";
echo $car1->fangfa("");
echo "<br>";


echo $car2->color="黄色";
echo "<br>";
echo $car2->size="小";
echo "<br>";
echo $car2->chandi="火星";
echo "<br>";

echo $car3->color="彩色";
echo $car3->size="中等";
echo $car3->chandi="地球";
echo $car3->fangfa("为您服务");








 ?>